package com.bestcem.xm.om.controller.vo;

/**
 * @author zq.ding <zq.ding@idiaoyan.com>
 * @version v1.0
 * @date 2021/11/12 13:44
 */

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 简单id
 *
 * @author zq.ding <zq.ding@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/20 11:37
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SimpleIdVO implements Serializable {

    private static final long serialVersionUID = -1780885883398014299L;
    /**
     * id
     */
    @JsonProperty(value = "id")
    private String id;

    public static SimpleIdVO getInstance(String id) {
        return new SimpleIdVO(id);
    }
}
